<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/js/public/Validform/css/Validform.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/js/public/Validform/css/right_yz.css"/>
 <script type="text/javascript" src="${ctx}/js/jquery-1.7.1.min.js"></script>
 <script language="JavaScript" type="text/javascript" src="${ctx}/js/public/Validform/Validform_v5.3.2.js"></script>
 <script language="JavaScript" type="text/javascript" src="${ctx}/js/public/Validform/right_Validform_v5.3.2_config.js"></script>
 <script type="text/javascript" src="${ctx}/js/ajaxfileupload.js"></script>
 <script type="text/javascript" src="${ctx}/js/extjs/ext-base.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ext-all.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ui/ext-ui.js"></script>
<script type="text/javascript" src="${ctx}/js/public/console.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ux/Toast.js"></script>
<script>
var cfg = {cxt:'${ctx}'};
<c:if test="${not empty entity}">
	<c:set var="url" value="handCar/update.action"/>
</c:if>
<c:if test="${ empty entity}">
<c:set var="url" value="handCar/add.action"/>
</c:if>
</script>
</head>
<body>
<div  id="table_form_div" class="table_form1">
<form  action="${ctx}/${url}" method="post" id="formobj" enctype="multipart/form-data">
 <input type="hidden" id="subBtn"   />
 <input type="hidden" id="backTip"  value="操作成功" />
  <table class="table-form" width="100%">
    <tbody>
        <tr>
	       <td width="15%" class="table-th">挂车牌号<font color="red">*</font></td>
	       <td class="table-td" width="35%">
	           <input type="text" id="licenseNum"  class="input-text" style="width:90%;" name="licenseNum" value="${entity.licenseNum}" maxlength="8"   datatype="*" />
	       </td>
	        <td  width="15%" class="table-th">车身颜色<font color="red">*</font></td>
           <td class="table-td"  width="35%">
           		<input type="text" id="color"  class="input-text" style="width:90%;" name="color" value="${entity.color}" maxlength="8" datatype="*" />
           </td>
	    </tr>
	    <tr>
	      <td  width="15%" class="table-th">出厂日期</td>
         　	 　<td class="table-td" width="35%">
        	   <span id="sp_product_time" ></span>
               <input type="hidden" id="hid_productTime" value="${entity.productTime}"/>
	       </td>
    　		   <td  width="15%" class="table-th">车轮数</td>
    	   <td class="table-td"  width="35%">
			<input type="text" id="wheelNum"  class="input-text" style="width:90%;" name="wheelNum" value="${entity.wheelNum}" maxlength="3"   datatype="n" ignore="ignore"/>
		   </td>
	    </tr>
	    <tr>
	  	  <td  width="15%" class="table-th">总质量</td>
         　	  <td class="table-td" width="35%">
         	<input type="text" id="totalMass"  class="input-text" style="width:80%;" name="totalMass" value="${entity.totalMass}" maxlength="6"   datatype="floatNumTwo"  ignore="ignore"/>	(Kg)
          </td>
          <td  width="15%" class="table-th">核载质量</td>
         　	  <td class="table-td" width="35%">
         	<input type="text" id="carryCapacity"  class="input-text" style="width:80%;" name="carryCapacity" value="${entity.carryCapacity}" maxlength="6"   datatype="floatNumTwo"  ignore="ignore"/>(Kg)	
          </td>  
	     </tr>
	   </tbody>
	  </table>
	 <input type="hidden" id="id"  name="id" value="${entity.id}" />
	 <input type="hidden" id="hid_companyId"  name="companyId" value='<c:choose><c:when test="${not empty entity.companyId }">${entity.companyId}</c:when><c:otherwise>${currentUser.person.companyId}</c:otherwise></c:choose>' />
	</form>
   </div>
   <script type="text/javascript" src="${ctx}/js/app-web/biz/handCar/handCarForm.js"></script>
  </body>
</html>
	  